function main() {

    const self = this;
    let formPartEle = self.$$("form_part_2dbexw");
    let formRenderEle = formPartEle.$$getRenderElement();
    let formPartEle1 = self.$$("form_part_5jcth");
    let formRenderEle1 = formPartEle1.$$getRenderElement();
    if (formPartEle) {
        formRenderEle.onSave().then((res) => {
            formRenderEle1.onSave().then((res) => {
                if (res && res.result) {
                    console.log("保存成功", res);

                    // 返回上个页面
                    let pageRenderElement = self.$$root().$parent.$parent.$parent;
                    pageRenderElement.goHistory(-1);
                }
            });


        });
    }
}


function main(){
    const self = this;
    const pageListEle = self.$$("page_widget_list_hkmx62");
    // 获取列表渲染页实例
    const listRenderView = pageListEle.$$getRenderElement();
    // 获取当前显示的组件，表格或者卡片
    const currentListEle = listRenderView.$$getListElement();
    // 调用刷新方法、
    self.$nextTick(() => {
        currentListEle.$$refreshData();
    });
}
